.class public Lframent/FramentEvaluate;
.super Landroid/support/v4/app/Fragment;
.source "FramentEvaluate.java"


# static fields
.field public static h:Landroid/os/Handler;


# instance fields
.field private context:Landroid/content/Context;

.field private evaluateBeans:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Lbean/EvaluateBean;",
            ">;"
        }
    .end annotation
.end field

.field private inflater:Landroid/view/LayoutInflater;

.field private listView3:Landroid/widget/ListView;

.field listeva:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;>;"
        }
    .end annotation
.end field

.field m:Lmyapp/MyApp;

.field private ratingBar2:Landroid/widget/RatingBar;

.field private ratingBar3:Landroid/widget/RatingBar;

.field private shopid:Ljava/lang/String;

.field private total:F

.field private total_score:Landroid/widget/TextView;

.field view:Landroid/view/View;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 53
    const/4 v0, 0x0

    sput-object v0, Lframent/FramentEvaluate;->h:Landroid/os/Handler;

    return-void
.end method

.method public constructor <init>()V
    .locals 1

    .prologue
    .line 47
    invoke-direct {p0}, Landroid/support/v4/app/Fragment;-><init>()V

    .line 54
    const/4 v0, 0x0

    iput-object v0, p0, Lframent/FramentEvaluate;->m:Lmyapp/MyApp;

    .line 59
    const/4 v0, 0x0

    iput v0, p0, Lframent/FramentEvaluate;->total:F

    .line 47
    return-void
.end method

.method static synthetic access$0(Lframent/FramentEvaluate;)Landroid/widget/RatingBar;
    .locals 1

    .prologue
    .line 63
    iget-object v0, p0, Lframent/FramentEvaluate;->ratingBar3:Landroid/widget/RatingBar;

    return-object v0
.end method

.method static synthetic access$1(Lframent/FramentEvaluate;)F
    .locals 1

    .prologue
    .line 59
    iget v0, p0, Lframent/FramentEvaluate;->total:F

    return v0
.end method

.method static synthetic access$2(Lframent/FramentEvaluate;)Landroid/widget/RatingBar;
    .locals 1

    .prologue
    .line 62
    iget-object v0, p0, Lframent/FramentEvaluate;->ratingBar2:Landroid/widget/RatingBar;

    return-object v0
.end method

.method static synthetic access$3(Lframent/FramentEvaluate;)Landroid/widget/TextView;
    .locals 1

    .prologue
    .line 61
    iget-object v0, p0, Lframent/FramentEvaluate;->total_score:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$4(Lframent/FramentEvaluate;)Landroid/content/Context;
    .locals 1

    .prologue
    .line 50
    iget-object v0, p0, Lframent/FramentEvaluate;->context:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic access$5(Lframent/FramentEvaluate;)Landroid/widget/ListView;
    .locals 1

    .prologue
    .line 52
    iget-object v0, p0, Lframent/FramentEvaluate;->listView3:Landroid/widget/ListView;

    return-object v0
.end method

.method static synthetic access$6(Lframent/FramentEvaluate;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 55
    iget-object v0, p0, Lframent/FramentEvaluate;->shopid:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$7(Lframent/FramentEvaluate;F)V
    .locals 0

    .prologue
    .line 59
    iput p1, p0, Lframent/FramentEvaluate;->total:F

    return-void
.end method

.method private initData()V
    .locals 1

    .prologue
    .line 154
    invoke-virtual {p0}, Lframent/FramentEvaluate;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    iput-object v0, p0, Lframent/FramentEvaluate;->context:Landroid/content/Context;

    .line 155
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lframent/FramentEvaluate;->evaluateBeans:Ljava/util/ArrayList;

    .line 157
    return-void
.end method

.method private initView()V
    .locals 2

    .prologue
    .line 161
    iget-object v0, p0, Lframent/FramentEvaluate;->view:Landroid/view/View;

    const v1, 0x7f0c019b

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ListView;

    iput-object v0, p0, Lframent/FramentEvaluate;->listView3:Landroid/widget/ListView;

    .line 163
    iget-object v0, p0, Lframent/FramentEvaluate;->view:Landroid/view/View;

    const v1, 0x7f0c0198

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lframent/FramentEvaluate;->total_score:Landroid/widget/TextView;

    .line 165
    iget-object v0, p0, Lframent/FramentEvaluate;->view:Landroid/view/View;

    const v1, 0x7f0c0199

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RatingBar;

    iput-object v0, p0, Lframent/FramentEvaluate;->ratingBar2:Landroid/widget/RatingBar;

    .line 166
    iget-object v0, p0, Lframent/FramentEvaluate;->view:Landroid/view/View;

    const v1, 0x7f0c019a

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RatingBar;

    iput-object v0, p0, Lframent/FramentEvaluate;->ratingBar3:Landroid/widget/RatingBar;

    .line 170
    return-void
.end method

.method private setData()V
    .locals 4

    .prologue
    .line 136
    const/4 v1, 0x0

    .local v1, "i":I
    :goto_0
    const/16 v2, 0xa

    if-lt v1, v2, :cond_0

    .line 149
    return-void

    .line 138
    :cond_0
    new-instance v0, Lbean/EvaluateBean;

    invoke-direct {v0}, Lbean/EvaluateBean;-><init>()V

    .line 139
    .local v0, "evaluateBean":Lbean/EvaluateBean;
    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "android"

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Lbean/EvaluateBean;->setEvaluaterName(Ljava/lang/String;)V

    .line 140
    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "hflsjfajsafjiklasjfklsjf"

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Lbean/EvaluateBean;->setMessage(Ljava/lang/String;)V

    .line 141
    const-string v2, "5"

    invoke-virtual {v0, v2}, Lbean/EvaluateBean;->setStartNumber(Ljava/lang/String;)V

    .line 143
    iget-object v2, p0, Lframent/FramentEvaluate;->evaluateBeans:Ljava/util/ArrayList;

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 136
    add-int/lit8 v1, v1, 0x1

    goto :goto_0
.end method


# virtual methods
.method public getShopSource()Z
    .locals 1

    .prologue
    .line 174
    new-instance v0, Lframent/FramentEvaluate$2;

    invoke-direct {v0, p0}, Lframent/FramentEvaluate$2;-><init>(Lframent/FramentEvaluate;)V

    .line 256
    invoke-virtual {v0}, Lframent/FramentEvaluate$2;->start()V

    .line 257
    const/4 v0, 0x0

    return v0
.end method

.method public onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .locals 3
    .param p1, "inflater"    # Landroid/view/LayoutInflater;
    .param p2, "container"    # Landroid/view/ViewGroup;
    .param p3, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    .line 71
    const v1, 0x7f030045

    const/4 v2, 0x0

    invoke-virtual {p1, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v1

    iput-object v1, p0, Lframent/FramentEvaluate;->view:Landroid/view/View;

    .line 73
    iput-object p1, p0, Lframent/FramentEvaluate;->inflater:Landroid/view/LayoutInflater;

    .line 74
    invoke-virtual {p0}, Lframent/FramentEvaluate;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-virtual {v1}, Landroid/support/v4/app/FragmentActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    check-cast v1, Lmyapp/MyApp;

    iput-object v1, p0, Lframent/FramentEvaluate;->m:Lmyapp/MyApp;

    .line 76
    invoke-direct {p0}, Lframent/FramentEvaluate;->initData()V

    .line 78
    invoke-direct {p0}, Lframent/FramentEvaluate;->initView()V

    .line 80
    invoke-direct {p0}, Lframent/FramentEvaluate;->setData()V

    .line 81
    invoke-virtual {p0}, Lframent/FramentEvaluate;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-virtual {v1}, Landroid/support/v4/app/FragmentActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    .line 82
    .local v0, "intent":Landroid/content/Intent;
    const-string v1, "shopid"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lframent/FramentEvaluate;->shopid:Ljava/lang/String;

    .line 83
    invoke-virtual {p0}, Lframent/FramentEvaluate;->getShopSource()Z

    .line 84
    new-instance v1, Lframent/FramentEvaluate$1;

    invoke-direct {v1, p0}, Lframent/FramentEvaluate$1;-><init>(Lframent/FramentEvaluate;)V

    sput-object v1, Lframent/FramentEvaluate;->h:Landroid/os/Handler;

    .line 129
    iget-object v1, p0, Lframent/FramentEvaluate;->view:Landroid/view/View;

    return-object v1
.end method
